package com.lvhx.task;

import java.util.concurrent.Callable;
import java.util.concurrent.TimeUnit;

public class CallableTask implements Callable {
    @Override
    public Object call() throws Exception {

        TimeUnit.SECONDS.sleep(5);
        System.out.println("任务执行完毕");
        return null;
    }
}
